package com.java.mongodbtest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.event.ApplicationStartedEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.TimeZone;

/**
 * @author huxb
 * @date 2020/9/18 0018 下午 1:42
 * @Desciption
 */
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
        SpringApplication springApplication = new SpringApplication(Application.class);

        ConfigurableApplicationContext applicationContext = springApplication.run(args);
    }
}
